package com.manager.cms.mapper;

import com.manager.cms.bo.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 *
 * @author 
 * @version v1.0
 * @date 2020-05-20
 */
@Repository
@Mapper
public interface UserRoleMapper {

    int insert(UserRole record);

    int update(UserRole record);

    int del(@Param("id") String id);

    UserRole selectByPrimaryKey(String id);

    List<UserRole> selectByRecord(UserRole record);

    int countByRecord(UserRole record);
}